import { ButtonProp } from "@/components/GlobalButton/interface";
import ProTable, { ProTableProps } from "@/components/ProTable/index.vue";
import { ComponentPublicInstance } from "vue";
export interface ColumnProps {
  label: string;
  prop: String;
  isValue?: boolean;
}

export interface customTable {
  columns?: ColumnProps[];
  data?: any[];
  useData?: boolean;
  rowButtonList?: ButtonProp[];
  initParam?: any;
}

export type ProTableInstance = Omit<InstanceType<typeof ProTable>, keyof ComponentPublicInstance | keyof ProTableProps>;
